package com.yuzhi.master.sewage.rmstSz.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yuzhi.master.sewage.rmstSz.entity.request.LocalDateTimeSerializer;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class PumpDataDTO {

    private String draiPumpName;   // 泵站名称
    private String pumpId;         // 泵站ID
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime dataTime; // 数据采集时间
    private Double qcYw;           // 前池液位
    private Double hcYw;           // 后池液位
    private Double csLg;           // 出水流量
    private String pumpState;      // 泵机状态组合

    // 开始时间


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;

}
